package org.jeecg.modules.contract.pattern.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.business.entity.BussContractReviewDes;
import org.jeecg.modules.contract.pattern.entity.ErpGoodsPattern;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.contract.pattern.entity.ErpGoodsPatternDetail;
import org.jeecg.modules.contract.pattern.vo.ErpGoodsPatternPage;

/**
 * @Description: 版样更改管理
 * @Author: jeecg-boot
 * @Date:   2024-05-27
 * @Version: V1.0
 */
public interface ErpGoodsPatternMapper extends BaseMapper<ErpGoodsPattern> {

    IPage<ErpGoodsPatternPage> myPage(Page<ErpGoodsPattern> page, @Param("model") ErpGoodsPattern erpGoodsPattern);

    ErpGoodsPatternDetail queryDetail(@Param("id") String id);

    void updateStatus(@Param("materielId") String materielId);

    void addDetail(@Param("model") ErpGoodsPatternDetail erpGoodsPatternDetail);

}
